package www.geek.filemanager.fragments;


import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

import www.geek.filemanager.R;
import www.geek.filemanager.adapter.FileManagerAdapter;
import www.geek.filemanager.base.BaseFragment;

/**
 *  file管理的Fragment
 *
 * @author : zhanggeng
 * @date   : 2015年7月28日
 * @version: v1.0
 * ----------修订历史-----------
 *
 */
public class FileResFragment extends BaseFragment {

    private ListView listView;

    private Context context;


    private FileManagerAdapter fileManagerAdapter;

    public FileResFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_file_manager , null);

        listView = (ListView) view.findViewById(R.id.lv_file_manager);

        fileManagerAdapter = new FileManagerAdapter(getActivity());

        listView.setAdapter(fileManagerAdapter);

        return view;
    }


}
